﻿using System;
using System.Collections.Generic;
using System.Text;

public abstract class Engine
{
    protected eEngineType? m_EngineType = null;

    public eEngineType? EngineType
    {
        get { return m_EngineType; }
        set { m_EngineType = value; }
    }

    public enum eEngineType
    {
        Fuel = 1,
        Electric
    }

    public new virtual string ToString()
    {
        return string.Concat("Engine type: ", m_EngineType.Value.ToString(), System.Environment.NewLine);
    }
}